﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_console/_console.Master" AutoEventWireup="true" CodeBehind="page-list.aspx.cs" Inherits="SmartSpace.WebApp._console.page.page_list" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <asp:HyperLink ID="_ctlBtnCreate" runat="server" NavigateUrl="./page-add.aspx">
        <img src="../resources/images/pages/page-add.png" />
        create
    </asp:HyperLink>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
    <div class="box">
        <h2>Application:<%=SmartSpace.Web.SsSite.Application.Name %></h2>
        <div class="block">
    <table class="list">
        <asp:Repeater ID="_ctlList" runat="server">
            <HeaderTemplate>
                <thead>
                <tr>
                    <th>-</th>
                    <th>name</th>
                    <th>caption</th>
                    <th>-</th>
                </tr>
                    </thead>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <checkbox />
                    </td>
                    <td>
                        <image src="../resources/images/pages/page-single.png" style="margin:0px; border:0px;" /><%# Eval("Name") %></td>
                    <td><%# Eval("Caption") %></td>
                    <td>
                        <a href='<%# Eval("Id","./page-design.aspx?id={0}") %>' target="_blank">
                        <image src="../resources/images/pages/page-design.png" style="margin:0px; border:0px; width:24px; height:24px;" />
                        design</a>
                        <a href='<%# Eval("Id","./page-navigation-list.aspx?id={0}") %>'>
                        <image src="../resources/images/pages/page-design.png" style="margin:0px; border:0px; width:24px; height:24px;" />
                        menu-settings</a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table></div>
        </div>
</asp:Content>
